import {
	request
} from "@/common/config.js"

// 我喜欢的音乐
export function _getLikeMusic(id) {
	return request({
		url: '/likelist?uid=${id}',
		method: 'get'
	})
}
export function _getSongsList(id) {
	return request({
		url: `/song/detail?ids=${id}`,
		method: 'get'
	})
}


// 获取我的私信
export function _getPrivate(limit) {
	return request({
		url: `/msg/private?limit=${limit}`,
		method: 'get'
	})
}

// 获取私信内容
export function _getPrivateContent(uid) {
	return request({
		url: `/msg/private/history?uid=${uid}`,
		method: 'get'
	})
}

// 发送私信
export function _SendMessages(uid, value) {
	return request({
		url: `/send/text?user_ids=${uid}&msg=${value}`,
		method: 'get'
	})
}

// 最近播放
export function _getRecentSong(item,limit) {
	return request({
		url: `/record/recent/${item}?limit=${limit}`,
		method:'get'

	})
}

// 黑胶时光机
export function _getTimeMachine(){
	return request({
		url:`/vip/timemachine`,
		method:'get'
	})
}

// 云盘
export function _getCloudDisk(){
	return request({
		url:`/user/cloud`,
		method:'get'
	})
}
